home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
INFO
/
DOSTRAIN.ZIP
/
OSCOMM.HDT
< prev
next >
Wrap
Text File
|
1988-01-23
|
6KB
|
178 lines
.po0
.mb3
.mt3
Introduction to PC DOS
Thi≤ i≤ ß shor⌠ summar∙ oµ P├ DOS¼ ou≥ operatinτ system« I⌠ ì
contain≤ onl∙ ß fe≈ oµ thσ mos⌠ usefu∞ command≤ anΣ onl∙ show≤ ì
somσ oµ thσ variation≤ oε each« Fo≥ morσ detai∞ checδ thσ manua∞ ì
o≥ onσ oµ thσ man∙ book≤ oε DOS.
I. Drive Identifiers and File Names
┴ drivσ identifie≥ i≤ eithe≥ A║ B: o≥ C:
┴ filσ namσ caε havσ threσ parts¼ ß drivσ identifier¼ ß ì
name¼ anΣ aε extension¼ bu⌠ thσ drivσ identifie≥ anΣ extensioε ì
arσ optional« Thσ namσ mus⌠ bσ froφ ▒ t∩ ╕ characters¼ anΣ thσ ì
extension¼ iµ any¼ froφ ▒ t∩ │ characters« Therσ shoulΣ bσ n∩ ì
space≤ anywherσ iε thσ filσ name« Herσ arσ ß fe≈ examples:
HOHO
ááááááááááááááá
A:HOHO
ááááááááááááááá
A:HOHO.EXE
II. Command Summaries
Thesσ arσ thσ basiπ command≤ yo⌡ wil∞ neeΣ t∩ know« Iε thσ ì
genera∞ forms¼ thσ squarσ bracket≤ meaε tha⌠ somethinτ i≤ ì
optional.
DIR║ Displa∙ thσ director∙ oµ file≤ oε ß disk
general form: DI╥ █ <drivσ╛ ▌ █ /╫ ]
áááááDI╥ dislplays the directory of the current drive
áááááDI╥ B: displays the directory of drive B
áááááDI╥ A: displays the directory of drive A
áááááDI╥ /W displays the directory in "wide" format
TYPE: Display the contents of a disk file
general form: TYPE <file name>
áááááTYP┼ HOH╧ displa∙ thσ filσ calleΣ HOH╧ oε thσ curren⌠ drive
áááááTYPE B:HOHO display the file called HOHO on drive B
PRINT║ Prin⌠ thσ content≤ oµ ß disδ file
genera∞ form║ PRIN╘ <filσ name>
PRIN╘ HOH╧ prin⌠ thσ filσ calleΣ HOH╧ oε thσ curren⌠ drive
áááááPRINT B:HOHO print the file called HOHO on drive BèERASE: Erase a file from a disk
general form: ERASE <file name>
áááááERAS┼ HOH╧ erasσ thσ filσ calleΣ HOH╧ froφ thσ curren⌠ ì
ááááá drive
áááááERASE B:HOHO erase the file called HOHO from drive B
RENAME: Change the name of a file
general form: RENAME <file name> <file name>
áááááRENAM┼ HOH╧ HAH┴ changσ thσ namσ oµ thσ filσ calleΣ HOH╧ ì
ááááá áááááon the current drive to HAHA
áááááRENAM┼ B:HOH╧ HAH┴ changσ thσ namσ oµ thσ filσ calleΣ HOH╧ ì
ááááá áááááon drive B to HAHA
<Program Name>: Load and execute the program
áááááHOHO loaΣ anΣ executσ thσ prograφ calleΣ HOHO whicΦ ì
ááááá áááááis on the current driveì
áááá
áááááB:HOH╧ loaΣ anΣ executσ thσ prograφ calleΣ HOH╧ whicΦ i≤ ì
ááááá áááááon drive Bá
FORMAT: Make a disk ready to use
general form: FORMAT <drive> [/S]
áááááFORMAT B: initialize the new disk that is in drive B
áááááFORMA╘ B:/╙ initializσ thσ ne≈ disδ tha⌠ i≤ iε drivσ ┬ ì
ááááá and put a copy of the operating system on it
COPY: Make a copy of a file
general form: COPY <file name> <file name> or
COPY <file name> <drive identifier>
áááááCOP┘ A:HOH╧ B:HOH╧ cop∙ thσ filσ calleΣ HOH╧ oε drivσ ┴ t∩ ì
ááááá ááááádrive B, and call the new file HOHO
áááááCOPY A:HOHO B: cop∙ thσ filσ calleΣ HOH╧ oε drivσ ┴ t∩ ì
ááááá ááááádrive B, and call the new file HOHO
áááááCOPY A:HOHO B:HAHA cop∙ thσ filσ calleΣ HOH╧ oε drivσ ┴ t∩ ì
ááááá ááááádrive B, and call the new file HAHA
COP┘ HOH╧ B║ cop∙ thσ filσ calleΣ HOH╧ oε thσ curren⌠ ì
drivσ t∩ drivσ B¼ anΣ cal∞ thσ ne≈ filσ HOHO
.paèCD║ Shif⌠ t∩ ß differen⌠ suΓ-director∙ withiε thσ curren⌠ disk.
general form: CD <directory name> or
CD \
ááááááááááááááááááááC─ ..
CD WP change to the subdirectoy called WP on
the default disk
CD \ return to the root (top) directory on
the default disk
CD .. changσ t∩ thσ director∙ abovσ thσ onσ yo⌡ arσ ì
áááááááááááááááááááácurrentl∙ in
III. Miscelaneous
PrtSc: Print whatever is on the screen now
Ctrl-P║ Prin⌠ everythinτ a≤ i⌠ i≤ displayed
Ctrl-S║ Pause/restar⌠ thσ displa∙
Ctrl-Alt-Del: Bootstrap the system
Wildcards:
Aε asterisδ (*⌐ caε als∩ bσ useΣ iε ß filσ namσ a≤ ß "wilΣ ì
card,ó whicΦ mean≤ tha⌠ i⌠ matche≤ anything« I⌠ i≤ ß convenien⌠ ì
shorthanΣ methoΣ oµ specifyinτ ß grou≡ oµ files« Herσ arσ ß fe≈ ì
examples:
áááááDI╥ HOHO.¬ displa∙ thσ director∙ oµ al∞ file≤ oε ì
ááááá áááááthσ curren⌠ drivσ witΦ ß namσ oµ HOHO
áááááDI╥ *.DA╘ displa∙ thσ director∙ oµ al∞ file≤ oε ì
ááááá thσ curren⌠ drivσ witΦ thσ extensioε DAT
áááááDI╥ B:*.DA╘ displa∙ thσ director∙ oµ al∞ file≤ oε ì
ááááá ááááádrive B with the extension DAT
áááááCOP┘ A:HOHO.¬ B║ cop∙ al∞ file≤ oε drivσ ┴ witΦ thσ namσ ì
ááááá áááááHOHO to drive B
COP┘ A:H*.¬ B║ cop∙ al∞ file≤ oε drivσ ┴ witΦ name≤ ì
beginning with "H" to drive B
Pathnames:
Yo⌡ caε refe≥ t∩ ß filσ outsidσ oµ thσ curren⌠ defaul⌠ ì
directory by using its full path name. Here are a few examples:
áááááC:\WP\MEMO thσ ful∞ patΦ namσ oµ thσ filσ calleΣ ì
áááááááááááááááááááááááááMEM╧ iε thσ subirector∙ calleΣ W╨ oε drivσ C
áááááCOPY A:HOHO C:\WP cop∙ thσ filσ calleΣ HOH╧ froφ drivσ ┴ ì
ááááááááááááááááááááááááát∩ thσ subdirector∙ calleΣ W╨ oε drivσ C